<#macro pagination pager>
${pager.pagerModel.count } 条记录 ${pager.pagerModel.currentPage}/${pager.pagerModel.pageCount } 页
<nav>
	<ul class="pagination">
		<#list pager.indexModels as index_item>
			<#if index_item.isNum?string('yes','no')=='yes'>
				<#if index_item.index == pager.pagerModel.currentPage>
		        	<li class="active"><a href=${index_item.pageUrl}>${index_item.pageIndex}</a></li>
		        <#else>
		            <li><a href=${index_item.pageUrl}>${index_item.pageIndex}</a></li>
		        </#if> 
			</#if>
			<#if index_item.isNum?string('yes','no')=='no'>
				<li>${page_index.pageIndex}</li>
			</#if>
		</#list>
	</ul>
</nav>
</#macro>